//
//  FtHomeCell.m
//  Feast
//
//  Created by 胡光健 on 2017/8/25.
//  Copyright © 2017年 mac. All rights reserved.
//

#import "FtHomeCell.h"
@interface FtHomeCell()<UITableViewDataSource,UITableViewDelegate>
@end
@implementation FtHomeCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization cod
    self.layer.cornerRadius = 10;
    self.layer.shadowOpacity = 0.5;
    self.layer.shadowRadius = 5;
    self.layer.shadowOffset = CGSizeZero;
    self.layer.shadowColor = [UIColor blackColor].CGColor;
  
    self.cellTableView.delegate = self;
    self.cellTableView.dataSource = self;
    [self.cellTableView registerClass:[UITableViewCell class] forCellReuseIdentifier:@"cell"];
}
// 点击改变cell高度
- (IBAction)changeHeightBtn:(UIButton *)sender {
    
    
}

// 点击确定接单
- (IBAction)okOrderBtn:(UIButton *)sender {
    
    
}

-(NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
    return 10;
}

-(UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
    UITableViewCell * cell = [tableView dequeueReusableCellWithIdentifier:@"cell"];
    cell.textLabel.text = @"柠檬茶";
    
    return cell;
}

-(CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath {
    return 27;
}

@end
